package com.richapp.launcher.database.system.mode;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "conditioinsStatus")
public class ConditionStatusModel {

	@DatabaseField(generatedId = true)
	private int id;
	
	@DatabaseField(columnName = "sceneName",canBeNull = false)
	private String sceneName;   //情景名称
	
	@DatabaseField(columnName = "conditionType",canBeNull = false)
	private int conditionType;	//主条件类型
	
	@DatabaseField(columnName = "conditionSubType",canBeNull = false)
	private int conditionSubType;	//子条件类型
	
	@DatabaseField(columnName = "boxCpuId",canBeNull = false)
	private String boxCpuId;    //机顶盒cpu id

	@DatabaseField(columnName = "deviceId",canBeNull = false)
	private String deviceId;    //设备类型编号

	@DatabaseField(columnName = "deviceNumber",canBeNull = false)
	private String deviceNumber;    //设备编号

    @DatabaseField(columnName = "way",canBeNull = false)
    private String way;

    @DatabaseField(columnName = "deviceName",canBeNull = false)
    private String deviceName;  //设备名称
	
	@DatabaseField(columnName = "dimmingValue")
	private String dimmingValue;    //调度值

	@DatabaseField(columnName = "deviceStatus")
	private String deviceStatus;    //设备状态

	@DatabaseField(columnName = "ifAnyone" )
	private String ifAnyone;    //有人无人条件状态

	@DatabaseField(columnName = "conditionCycleFlag",defaultValue = "true",canBeNull = false)
	private String conditionCycleFlag; //检测条件是否满一周期

	public ConditionStatusModel() {
		
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getSceneName() {
		return sceneName;
	}


	public void setSceneName(String sceneName) {
		this.sceneName = sceneName;
	}


	public int getConditionType() {
		return conditionType;
	}


	public void setConditionType(int conditionType) {
		this.conditionType = conditionType;
	}


	public int getConditionSubType() {
		return conditionSubType;
	}


	public void setConditionSubType(int conditionSubType) {
		this.conditionSubType = conditionSubType;
	}


	public String getBoxCpuId() {
		return boxCpuId;
	}


	public void setBoxCpuId(String boxCpuId) {
		this.boxCpuId = boxCpuId;
	}


	public String getDeviceId() {
		return deviceId;
	}


	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}


	public String getDeviceNumber() {
		return deviceNumber;
	}


	public void setDeviceNumber(String deviceNumber) {
		this.deviceNumber = deviceNumber;
	}

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDimmingValue() {
		return dimmingValue;
	}


	public void setDimmingValue(String dimmingValue) {
		this.dimmingValue = dimmingValue;
	}

    public String getWay() {
        return way;
    }

    public void setWay(String way) {
        this.way = way;
    }

	public String getDeviceStatus() {
		return deviceStatus;
	}

	public void setDeviceStatus(String deviceStatus) {
		this.deviceStatus = deviceStatus;
	}

	public String getIfAnyone() {
		return ifAnyone;
	}

	public void setIfAnyone(String ifAnyone) {
		this.ifAnyone = ifAnyone;
	}

	public String getConditionCycleFlag() {
		return conditionCycleFlag;
	}

	public void setConditionCycleFlag(String conditionCycleFlag) {
		this.conditionCycleFlag = conditionCycleFlag;
	}
}
